#ifndef UPDATECONFWIDGET_H
#define UPDATECONFWIDGET_H

#include <QWidget>
#include "ui_updateconfigwidget.h"
#include "chnwidget.h"

class UpdateConfWidget : public QWidget,public Ui::UpdateConfigWidget
{
    Q_OBJECT
public:
    explicit UpdateConfWidget(QWidget *parent = 0);
    void initUI();
    ChnStandardItemModel *chnModel1,*chnModel2;

private:
    void showMenu();

    
signals:
    
public slots:
    void clickView1(QModelIndex index);
    void clickView2(QModelIndex index);
    void updateData();
    
private slots:
    void on_chnDevView1_customContextMenuRequested(const QPoint &pos);
};

#endif // UPDATECONFWIDGET_H
